package org.example.microservice.sys.api.feign;

import org.example.microservice.sys.api.vo.System;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(contextId = "SystemInfoFeign", name = "sys", url = "${service.provider.sys}")
@Component
public interface SystemFeign {

    @GetMapping("/feign/system/info")
    System getSystemInfo();
}
